home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / boot / xinstall.lha / xInstall / Install_xInstall next >
Text File  |  1992-09-02  |  2KB  |  96 lines

  1. ; Installer-Script of xInstall v1.3c
  2. ; The xInstall package (the executable, the source, the guide, the
  3. ; install-script and the catalog) is copyright 1994 by Jens Tröger
  4.  
  5. ; $VER xInstall v1.3c (23.09.94)
  6.  
  7. (COMPLETE 0)
  8.  
  9. (IF (= @language "deutsch")
  10.    (
  11.       (SET no_v37 (CAT "Es wird mindestens OS2 (v37) oder besser benötigt"))
  12.       (SET msg_0 (CAT "\nxInstall Installer script.\n\n"
  13.                       "Hiermit können Sie xInstall auf Ihrem AMIGA installieren\n\n"
  14.                       "Hinweis: lesen Sie bitte das Guide, bevor Sie xInstall starten !"
  15.                       "\n\nDas xInstall-Packet ist © 1994 by Jens Tröger\n"
  16.                       "Alle Rechte vorbehalten."
  17.                       "\n\nNotiz: das Guide wird nicht installiert !"))
  18.       (SET msg_1 (CAT "Zeilverzeichnis auswählen..."))
  19.       (SET done (CAT "OK, das wär`s - Installation abgeschlossen"
  20.                      "\n\nViel Spaß mit xInstall !"))
  21.    )
  22.    (
  23.       (SET no_v37 (CAT "You need OS2 (v37) or better to run"))
  24.       (SET msg_0 (CAT "\nxInstall Installer script.\n\n"
  25.                       "This will install xInstall on your AMIGA\n\n"
  26.                       "Indication: read the guide before you run xInstall !"
  27.                       "\n\nThe xInstall-package is © 1994 by Jens Tröger\n"
  28.                       "All rights reserved."
  29.                       "\n\nNote: the guide won`t be installed !"))
  30.       (SET msg_1 (CAT "Select destination drawer..."))
  31.       (SET done (CAT "OK, that`s all - installation complete"
  32.                      "\n\nHave fun with xInstall !"))
  33.    )
  34. )
  35.  
  36. (IF (< (/ (GETVERSION) 65536) 37)
  37.    (
  38.       (ABORT no_v37)
  39.    )
  40. )
  41.  
  42. (MESSAGE msg_0)
  43.  
  44. (SET destdir
  45.    (ASKDIR
  46.       (PROMPT "\n" msg_1)
  47.       (HELP @askdir-help)
  48.       (DEFAULT "WORK:")
  49.    )
  50. )
  51.  
  52. (COPYFILES
  53.    (SOURCE "xInstall")
  54.    (DEST destdir)
  55.    (INFOS)
  56. )
  57.  
  58. (COMPLETE 25)
  59.  
  60. (COPYFILES
  61.    (SOURCE "xInstall.info")
  62.    (DEST destdir)
  63.    (INFOS)
  64. )
  65.  
  66. (IF (< (/ (GETVERSION "libs:reqtools.library") 65536) 37)
  67.    (
  68.       (COMPLETE 75)
  69.    )
  70.    (
  71.       (COPYFILES
  72.          (SOURCE "libs/reqtools.library")
  73.          (DEST "libs:")
  74.          (INFOS)
  75.       )
  76.       (COMPLETE 75)
  77.    )
  78. )
  79.  
  80. (IF (= @language "deutsch")
  81.    (
  82.       (COMPLETE 75)
  83.       (COPYFILES
  84.          (SOURCE "catalogs/deutsch/xinstall.catalog")
  85.          (DEST "locale:catalogs/deutsch/")
  86.          (INFOS)
  87.       )
  88.       (COMPLETE 100)
  89.    )
  90.    (
  91.       (COMPLETE 100)
  92.    )
  93. )
  94.  
  95. (EXIT done)
  96.